package top.zsyle;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
//@EnableEurekaClient 此注解只能用于eureka
// 开启服务发现，跟 @EnableEurekaClient 意思一模一样
@EnableDiscoveryClient // 此注解用于所有注册中心，可以不写
public class GatewayApp {
    public static void main(String[] args) {
        SpringApplication.run(GatewayApp.class,args);
    }
}
